
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>项目介绍 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="alipay/alipay.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    项目介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="alipay/alipay.html">
            
                <a href="alipay/alipay.html">
            
                    
                    支付宝支付
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="alipay/params.html">
            
                <a href="alipay/params.html">
            
                    
                    参数及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="alipay/interfaces.html">
            
                <a href="alipay/interfaces.html">
            
                    
                    接口列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="alipay/starter.html">
            
                <a href="alipay/starter.html">
            
                    
                    快速上手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="wechat/wechat.html">
            
                <a href="wechat/wechat.html">
            
                    
                    微信支付
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="wechat/params.html">
            
                <a href="wechat/params.html">
            
                    
                    参数及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="wechat/interfaces.html">
            
                <a href="wechat/interfaces.html">
            
                    
                    接口列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="wechat/starter.html">
            
                <a href="wechat/starter.html">
            
                    
                    快速上手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="bestpay/bestpay.html">
            
                <a href="bestpay/bestpay.html">
            
                    
                    翼支付
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="bestpay/params.html">
            
                <a href="bestpay/params.html">
            
                    
                    参数获取
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="bestpay/interfaces.html">
            
                <a href="bestpay/interfaces.html">
            
                    
                    接口列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="bestpay/starter.html">
            
                <a href="bestpay/starter.html">
            
                    
                    快速上手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    示例项目
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" >
            
                <a target="_blank" href="https://gitee.com/thlws/payment-simple">
            
                    
                    https://gitee.com/thlws/payment-simple
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >项目介绍</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x9879;&#x76EE;&#x4ECB;&#x7ECD;">&#x9879;&#x76EE;&#x4ECB;&#x7ECD;</h1>
<p>&#x672A;&#x63A5;&#x89E6;&#x8FC7;&#x652F;&#x4ED8;&#xFF0C;&#x89C9;&#x5F97;&#x5B98;&#x65B9;&#x6587;&#x6863;&#x590D;&#x6742;, &#x4F46;&#x53C8;&#x9700;&#x8981;&#x5FEB;&#x901F;&#x63A5;&#x5165;&#x652F;&#x4ED8;&#x529F;&#x80FD;&#x7684;&#x5C0F;&#x767D;&#x7A0B;&#x5E8F;&#x5458;&#xFF0C;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;&#x4E00;&#x5B9A;&#x4F1A;&#x8BA9;&#x4F60;&#x7701;&#x4E0B;&#x4E0D;&#x5C11;&#x529B;&#x6C14;&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x662F;&#x4E4B;&#x524D;&#x63A5;&#x5165;&#x8FC7;&#x5404;&#x79CD;&#x652F;&#x4ED8;&#x7684;&#x8001;&#x9E1F;,&#x8FD9;&#x5BF9;&#x4F60;&#x53EF;&#x80FD;&#x6CA1;&#x4EC0;&#x4E48;&#x5438;&#x5F15;&#x529B;&#xFF0C;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;&#x4E3B;&#x8981;&#x9762;&#x5411;&#x521A;&#x63A5;&#x89E6;&#x6216;&#x672A;&#x63A5;&#x89E6;&#x8FC7;&#x652F;&#x4ED8;&#x7684;&#x5C0F;&#x4F19;&#x4F34;&#xFF0C;&#x65E0;&#x8BBA;&#x4F60;&#x662F;&#x5C0F;&#x767D;&#x8FD8;&#x662F;&#x8001;&#x9E1F;&#xFF0C;&#x559C;&#x6B22;&#x7684;&#x8BDD;&#x5E2E;&#x5FD9;star&#x4E0B;&#xFF0C;&#x611F;&#x8C22;&#x3002;</p>
<h3 id="maven&#x5750;&#x6807;">Maven&#x5750;&#x6807;</h3>
<pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.thlws&lt;/groupId&gt;
    &lt;artifactId&gt;payment-thl&lt;/artifactId&gt;
    &lt;version&gt;1.1.9&lt;/version&gt;
&lt;/dependency&gt;
</code></pre><h3 id="&#x7279;&#x6027;&#x8BF4;&#x660E;">&#x7279;&#x6027;&#x8BF4;&#x660E;</h3>
<ul>
<li>&#x6574;&#x5408;&#x591A;&#x4E3B;&#x6D41;&#x79CD;&#x652F;&#x4ED8;&#x5E73;&#x53F0;&#x4E8E;&#x4E00;&#x4F53;(&#x652F;&#x4ED8;&#x5B9D;&#x3001;&#x5FAE;&#x4FE1;&#x3001;&#x7FFC;&#x652F;&#x4ED8;)</li>
<li>&#x63A5;&#x53E3;&#x53C2;&#x6570;&#x5168;&#x90E8;&#x5C01;&#x88C5;&#xFF0C;&#x4F7F;&#x7528;&#x8005;&#x4EC5;&#x9700;&#x521B;&#x5EFA;&#x5BF9;&#x8C61;&#x5E76;&#x8BBE;&#x7F6E;&#x53C2;&#x6570;</li>
<li>&#x9879;&#x76EE;&#x6781;&#x5C11;&#x4F9D;&#x8D56;&#xFF0C;&#x63A5;&#x53E3;&#x7B80;&#x5355;&#x6E05;&#x6670;&#xFF0C;&#x65E5;&#x5FD7;&#x8BE6;&#x7EC6;&#x4E14;&#x8F93;&#x51FA;&#x683C;&#x5F0F;&#x53CB;&#x597D;</li>
<li>&#x5404;&#x79CD;&#x652F;&#x4ED8;&#x5E73;&#x53F0;&#xFF0C;&#x652F;&#x4ED8;&#x573A;&#x666F;&#x63D0;&#x4F9B;&#x793A;&#x4F8B;&#x9879;&#x76EE;&#xFF0C;&#x65B0;&#x624B;&#x66F4;&#x5BB9;&#x6613;&#x4E0A;&#x624B;&#xFF0C;&#x964D;&#x4F4E;&#x63A5;&#x5165;&#x95E8;&#x69DB;</li>
<li>&#x5FAE;&#x4FE1;&#x6A21;&#x5757;&#x6574;&#x5408;&#x4E86;&#x516C;&#x4F17;&#x53F7;&#x76F8;&#x5173;&#x529F;&#x80FD;(openId&#x83B7;&#x53D6;,&#x5FAE;&#x4FE1;&#x901A;&#x77E5;,&#x7528;&#x6237;&#x4FE1;&#x606F;&#x83B7;&#x53D6;&#x7B49;)</li>
</ul>
<h3 id="&#x652F;&#x4ED8;&#x529F;&#x80FD;">&#x652F;&#x4ED8;&#x529F;&#x80FD;</h3>
<ul>
<li>&#x5FAE;&#x4FE1;&#x516C;&#x4F17;&#x53F7;&#x652F;&#x4ED8;(&#x5FAE;&#x4FE1;JSAPI)</li>
<li>&#x5FAE;&#x4FE1;&#x5237;&#x5361;&#x4ED8;&#x6B3E;(&#x5546;&#x5BB6;&#x626B;&#x7801;&#x652F;&#x4ED8;)</li>
<li>&#x5FAE;&#x4FE1;&#x626B;&#x7801;&#x652F;&#x4ED8;(&#x7528;&#x6237;&#x626B;&#x7801;&#x652F;&#x4ED8;)</li>
<li>&#x652F;&#x4ED8;&#x5B9D;&#x7F51;&#x7AD9;&#x652F;&#x4ED8;&#x4ED8;&#x6B3E;(&#x666E;&#x901A;&#x7F51;&#x7AD9;&#x652F;&#x4ED8;)</li>
<li>&#x652F;&#x4ED8;&#x5B9D;&#x5237;&#x5361;&#x4ED8;&#x6B3E;(&#x5546;&#x5BB6;&#x626B;&#x7801;&#x5B8C;&#x6210;&#x4ED8;&#x6B3E;,&#x4E00;&#x822C;&#x7528;&#x4E8E;C/S&#x67B6;&#x6784;&#x7CFB;&#x7EDF;)</li>
<li>&#x652F;&#x4ED8;&#x5B9D;&#x626B;&#x63CF;&#x652F;&#x4ED8;(&#x7528;&#x6237;&#x626B;&#x7801;&#x652F;&#x4ED8;,&#x7C7B;&#x4F3C;&#x81EA;&#x52A8;&#x8D29;&#x5356;&#x673A;&#x626B;&#x7801;&#x652F;&#x4ED8;)</li>
<li>&#x652F;&#x4ED8;&#x5B9D;&#x624B;&#x673A;&#x7F51;&#x9875;&#x652F;&#x4ED8;(&#x624B;&#x673A;&#x4E0A;&#x6253;&#x5F00;&#x7684;&#x7F51;&#x9875;&#x540E;&#x8FDB;&#x884C;&#x652F;&#x4ED8;)</li>
<li>&#x7FFC;&#x652F;&#x4ED8;&#x5237;&#x5361;&#x652F;&#x4ED8;(&#x5546;&#x5BB6;&#x626B;&#x7801;&#x652F;&#x4ED8;,&#x4E00;&#x822C;&#x7528;&#x4E8E;C/S&#x67B6;&#x6784;&#x7CFB;&#x7EDF;)</li>
</ul>
<h3 id="&#x66F4;&#x65B0;&#x65E5;&#x5FD7;">&#x66F4;&#x65B0;&#x65E5;&#x5FD7;</h3>
<ul>
<li>v1.0.0 &#x4E09;&#x5408;&#x4E00;&#x652F;&#x4ED8;&#x6574;&#x5408;(&#x5FAE;&#x4FE1;&#xFF0C;&#x652F;&#x4ED8;&#x5B9D;&#xFF0C;&#x7FFC;&#x652F;&#x4ED8;).</li>
<li>v1.0.1 &#x516C;&#x4F17;&#x53F7;&#x6A21;&#x5757;&#x4EE3;&#x7801;&#x89C4;&#x8303;.</li>
<li>v1.0.2 &#x5FAE;&#x4FE1;&#x516C;&#x4F17;&#x53F7;&#x8FD4;&#x56DE;&#x65B0;&#x589E;isSuccess().</li>
<li>v1.0.3 &#x65B0;&#x589E;&#x884C;&#x4E1A;&#x5C5E;&#x6027;&#x83B7;&#x53D6;&#x63A5;&#x53E3;</li>
<li>v1.0.4 &#x884C;&#x4E1A;&#x5C5E;&#x6027;&#x6C47;&#x603B;,&#x4EE3;&#x7801;&#x4F18;&#x5316;</li>
<li>v1.0.5 &#x65B0;&#x589E;&#x8BF7;&#x6C42;&#x662F;&#x5426;&#x6765;&#x81EA;&#x5FAE;&#x4FE1;(WechatMpClient.isFromWechat)</li>
<li>v1.0.6 &#x65B0;&#x589E;&#x5FAE;&#x4FE1;&#x5F02;&#x6B65;&#x901A;&#x77E5;&#x6570;&#x636E;&#x5904;&#x7406; WechatUtil.parseNotifyMsg(HttpServletRequest request)</li>
<li>v1.0.7 &#x4FEE;&#x6B63;&#x516C;&#x4F17;&#x53F7;&#x652F;&#x4ED8;&#x7B7E;&#x540D;&#x95EE;&#x9898;,&#x5F02;&#x6B65;&#x6570;&#x636E;&#x901A;&#x77E5;&#x5904;&#x7406;&#x4F18;&#x5316;</li>
<li>v1.0.8 &#x4FEE;&#x6B63;&#x5FAE;&#x4FE1;&#x7F51;&#x9875;&#x6388;&#x6743;&#x95EE;&#x9898;&#xFF0C;&#x65B0;&#x589E;&#x516C;&#x4F17;&#x53F7;&#x5165;&#x53E3;&#x7C7B;&#x90E8;&#x5206;&#x6CE8;&#x91CA;</li>
<li>v1.0.9 &#x4FEE;&#x590D;issues-I1047Y&#xFF0C;&#x611F;&#x8C22; alterem &#x53CD;&#x9988;</li>
<li>v1.1.0 &#x4FEE;&#x6B63;&#x652F;&#x4ED8;&#x5B9D;&#x7F51;&#x9875;&#x7F51;&#x9875;&#x652F;&#x4ED8;&#x5B9D;&#x53C2;&#x6570;&#x683C;&#x5F0F;&#x95EE;&#x9898;</li>
<li>v1.1.1 &#x5347;&#x7EA7;&#x652F;&#x4ED8;&#x5B9D;SDK&#xFF0C;&#x4FEE;&#x6539; &#x652F;&#x4ED8;&#x5B9D;&#x652F;&#x4ED8;&#x4E2D;productCode&#x7684;&#x8D4B;&#x503C;</li>
<li>v1.1.2 &#x4F18;&#x5316;&#x652F;&#x4ED8;&#x5B9D;&#x7F51;&#x7AD9;&#x3001;&#x624B;&#x673A;&#x7F51;&#x7AD9;&#x652F;&#x4ED8;&#x65F6; productCode &#x5E73;&#x53F0;&#x53C2;&#x6570;&#xFF0C;&#x540C;&#x6B65;&#x66F4;&#x65B0;payment-simple</li>
<li>v1.1.3 &#x65B0;&#x589E;code2session&#x63A5;&#x53E3;,&#x4FEE;&#x6B63; <a href="https://github.com/thlws/payment-thl/issues/1" target="_blank">github#1</a>, <a href="https://gitee.com/thlws/payment-thl/issues/I12BOM" target="_blank">gitee#I12BOM</a></li>
<li>v1.1.4 &#x652F;&#x4ED8;&#x5B9D;SDK&#x5347;&#x7EA7;&#xFF0C;JDK&#x6700;&#x4F4E;&#x7248;&#x672C;&#x8981;&#x6C42;1.8+&#xFF0C;&#x63A5;&#x53E3;&#x4F18;&#x5316;&#x7B49;&#x3002;</li>
<li>v1.1.5 &#x89E3;&#x51B3;Session2Code &#x5C0F;&#x7A0B;&#x5E8F;&#x8C03;&#x7528;&#x63A5;&#x53E3;isSuccess&#x903B;&#x8F91;.</li>
<li>v1.1.6 &#x4F8B;&#x884C;&#x66F4;&#x65B0;,&#x5347;&#x7EA7; alipay-sdk-java hutoll,&#x89C4;&#x8303;javadoc</li>
<li>v1.1.7 &#x62BD;&#x79BB;&#x5C0F;&#x7A0B;&#x5E8F;API&#xFF0C;&#x5347;&#x7EA7;alipay-sdk-java hutoll</li>
<li>v1.1.8 &#x8C03;&#x6574;&#x516C;&#x4F17;&#x53F7;&#x63A8;&#x9001;&#xFF08;&#x516C;&#x4F17;&#x53F7;&#x6A21;&#x677F;&#x63A8;&#x9001;&#xFF09;&#x63A5;&#x53E3;</li>
<li>v1.1.9 &#x5C0F;&#x7A0B;&#x5E8F;&#xFF0C;&#x516C;&#x4F17;&#x652F;&#x4ED8;&#x5C01;&#x88C5;&#x524D;&#x7AEF;&#x652F;&#x4ED8;&#x6570;&#x636E;</li>
</ul>
<h3 id="&#x6E90;&#x7801;&#x6258;&#x7BA1;">&#x6E90;&#x7801;&#x6258;&#x7BA1;</h3>
<ul>
<li><a href="https://gitee.com/thlws/payment-thl" target="_blank">https://gitee.com/thlws/payment-thl</a></li>
<li><a href="https://github.com/thlws/payment-thl" target="_blank">https://github.com/thlws/payment-thl</a></li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="alipay/alipay.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 支付宝支付">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"项目介绍","level":"1.1","depth":1,"next":{"title":"支付宝支付","level":"1.2","depth":1,"path":"alipay/alipay.md","ref":"alipay/alipay.md","articles":[{"title":"参数及配置","level":"1.2.1","depth":2,"path":"alipay/params.md","ref":"alipay/params.md","articles":[]},{"title":"接口列表","level":"1.2.2","depth":2,"path":"alipay/interfaces.md","ref":"alipay/interfaces.md","articles":[]},{"title":"快速上手","level":"1.2.3","depth":2,"path":"alipay/starter.md","ref":"alipay/starter.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2019-12-25T13:36:11.204Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-25T13:36:22.351Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

